import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/api/SysMessage/list',
    method: 'get',
    params: params
  })
}

export function update(data) {
  return request({
    url: '/api/SysMessage/update',
    method: 'post',
    data: data
  })
}

export function insert(data) {
  return request({
    url: '/api/SysMessage/insert',
    method: 'post',
    data: data
  })
}
